module.exports = {
    devServer: {
        port: 8001,//端口号
        host: 'localhost',//主机名
        https: false,//协议
        open: true,
        proxy: {
            [process.env.VUE_APP_BASE_API]: {
                target: process.env.VUE_APP_SERVICE_URL,
                changOrigin: true, //开启代理
                pathRewrite: {
                    ['^' + process.env.VUE_APP_BASE_API]: ''
                }
            }
        }
    },
    lintOnSave: false,
    productionSourceMap: false
}

